import BaseApi from '@/api/BaseApi'
import {
	has,
	get
} from 'lodash'

let instance = null

class Index extends BaseApi {
	//密码登录
	
	login(params = {}) {
		return this.vm.$u.http.post('login', params)
	}



}

export default (Vue, vm) => {
	if (instance === null) {
		instance = new Index(Vue, vm)
	}
	return instance
}